package com.cloudkinto.vo.cost;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
//@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CostAddEt {
    //CostInfoEntity 被他继承 记得维护

    @ApiModelProperty("0实扣 1预扣")
    private Integer status;
    @ApiModelProperty("oms单据号")
    private String orderNo;
    @ApiModelProperty("oms单据号id")
    private Long orderId;
    @ApiModelProperty("业务类型 10 入库 20 出库 30仓租 40工单 1000 其他 Cost_ModuleType")
    private Integer moduleType;
    @ApiModelProperty("单据类型 一件代发入库 备转中入库 退件 一件代发出库等等 Cost_Out_OrderType 和 Cost_Input_OrderType")
    private String orderType;
    @ApiModelProperty("仓库")
    private Long whId;
    @ApiModelProperty("客户id")
    private Long companyId;
    @ApiModelProperty("tenant_id")
    private Long tenantId;
    @ApiModelProperty("oms单据创建时间")
    private Date omsOrderCreateTime;

    public CostAddEt(Integer status, String orderNo, Long orderId, Long whId, Long companyId, Long tenantId, Date omsOrderCreateTime) {
        this.status = status;
        this.orderNo = orderNo;
        this.orderId = orderId;
        this.whId = whId;
        this.companyId = companyId;
        this.tenantId = tenantId;
        this.omsOrderCreateTime = omsOrderCreateTime;
    }
}
